package com.po;
import java.util.List;

public class Vet
{
    private int id;
    private String name;
    private List<Speciality> specs;
    private int vetId;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Speciality> getSpecs() {
        return specs;
    }

    public void setSpecs(List<Speciality> specs) {
        this.specs = specs;
    }

    public int getVetId() {
        return vetId;
    }

    public void setVetId(int vetId) {
        this.vetId = vetId;
    }

    @Override
    public String toString() {
        return "Vet{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", specs=" + specs +
                '}';
    }
}
